package main

import "fmt"
import "github.com/qiniu/api/rs"
import ."github.com/qiniu/api/conf"

func main() {

	ACCESS_KEY = "I1E_LRqphI5td8j-************************"
	SECRET_KEY = "_wy0qVfLkvhb-VSy************************"
	pp := rs.PutPolicy {
		Scope: "codekiller",
		Expires: 864000,
	}
	token_json := "{\"uptoken\":\"" + pp.Token(nil) + "\"}";
	fmt.Println(token_json)
}